#!/bin/bash

chmod 777 ./pactool
./pactool make_pac_image_no_gpt --output nvm.pac \
--allow_empty_partitions \
--product E3650 \
--da FDA:temp/nvm/FDA.bin \
--image 0x8000000:temp/nvm/0x8000000.bin \
--image 0x8400000:temp/nvm/0x8000000.bin \
--image 0x8800000:temp/nvm/0x8000000.bin \
--image 0x8c00000:temp/nvm/0x8000000.bin \
--image 0x9000000:temp/nvm/0x8000000.bin
